package com.hanhai.material.wages.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author youchuang
 * @since 2023/10/25 17:34:51
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "ding_year_leave_record")
public class DingYearLeaveRecord implements Serializable {

    /**
     * 员工年假记录
     */
    @Id
    private String id;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 假期类型COde
     */
    private String leaveCode;

    /**
     * 假期消费记录唯一标水
     */
    private String recordId;

    /**
     * 假期额度唯一标识
     */
    private String qotaId;

    /**
     * 开始时间
     */
    private Timestamp startTime;

    /**
     * 结束时间
     */
    private Timestamp endTime;

    /**
     * 显示单位day/hour
     */
    private String leaveViewUnit;

    private String calType;

    private String leaveReason;

    private String leaveStatus;

    private String leaveRecordType;

    private BigDecimal recordNumPerDay;

    private BigDecimal recordNumPerHour;

    private String createUserId;

    private Timestamp createTime;

}
